package com.example.springcloudribbonclient.server;

import java.util.concurrent.Future;

public interface ClientServer {
    String client();


    /**
     * 请求合并
     * @param name
     * @return
     */
   Future<String> clientHystrix(String name);


    /**
     * 线程隔离接口1
     * @return
     */
   public String thread1();

    /**
     * 线程隔离接口2
     * @return
     */
    public String thread2();


    /**
     * 信号量分割的接口
     * @return
     */
    String semaphore();
}
